"""
This component is responsible for all living objects.
"""
from component import componentMeta as meta, component

class living(component):
    __metaclass__ = meta
    _name = 'living'
    int = 1
    str = 1
    con = 1
    dex = 1
    hp = 0
    def calculateAttributes(self):
        self.hp = 1000+((self.str*4)+(self.con*2))
